package config

import (
	"net"
	"time"

	"databasex"
	"databasex/dbx"
)

const InfluxToken = "ahxU725sCiL8ps7NLKFcnYApZIzkVumgadxPV6B97Dna2CYc9mY0szgIZhG_i-erjhMfyqL0AZLH_x1t04eYjQ=="

var InfluxHost = "http://" + net.JoinHostPort(databasex.ServerConfig.Host, "8086")

var InfluxDBOpt = dbx.InfluxDB{
	BatchSize:          5,
	FlushInterval:      5,
	RetryInterval:      5,
	MaxRetries:         5,
	RetryBufferLimit:   5,
	MaxRetryInterval:   5,
	MaxRetryTime:       5,
	ExponentialBase:    5,
	LogLevel:           5,
	Precision:          time.Second,
	UseGZip:            true,
	ApplicationName:    "",
	HTTPRequestTimeout: 0,
	TLS:                dbx.TLS{},
}
